import { ref } from 'vue'
import { findNew } from '@/api/home'
// 新鲜好物
export function goodsNew () {
  const panneNewlList = ref([])
  async function pannelLiatFn () {
    const res = await findNew()
    panneNewlList.value = res.data.result
  // console.log(res.data)
  }
  pannelLiatFn()
  return {
    panneNewlList
  }
}
